package com.tjec.project.system.service;

import com.tjec.project.system.domain.BmsCategoryAssociated;

import java.util.List;

/**
 * 业务类别关联关系Service接口
 * 
 * @author villwang
 * @date 2020-04-30
 */
public interface IBmsCategoryAssociatedService 
{
    /**
     * 查询业务类别关联关系
     * 
     * @param id 业务类别关联关系ID
     * @return 业务类别关联关系
     */
    public BmsCategoryAssociated selectBmsCategoryAssociatedByGuid(Long id);

    /**
     * 查询业务类别关联关系列表
     * 
     * @param bmsCategoryAssociated 业务类别关联关系
     * @return 业务类别关联关系集合
     */
    public List<BmsCategoryAssociated> selectBmsCategoryAssociatedList(BmsCategoryAssociated bmsCategoryAssociated);

    /**
     * 新增业务类别关联关系
     * 
     * @param bmsCategoryAssociated 业务类别关联关系
     * @return 结果
     */
    public int insertBmsCategoryAssociated(BmsCategoryAssociated bmsCategoryAssociated);

    /**
     * 修改业务类别关联关系
     * 
     * @param bmsCategoryAssociated 业务类别关联关系
     * @return 结果
     */
    public int updateBmsCategoryAssociated(BmsCategoryAssociated bmsCategoryAssociated);

    /**
     * 批量删除业务类别关联关系
     * 
     * @param ids 需要删除的业务类别关联关系ID
     * @return 结果
     */
    public int deleteBmsCategoryAssociatedByGuids(Long[] ids);

    /**
     * 删除业务类别关联关系信息
     * 
     * @param id 业务类别关联关系ID
     * @return 结果
     */
    public int deleteBmsCategoryAssociatedByGuid(Long id);

    int deleteBmsCategoryAssociatedByIds(Long[] ids);

    int deleteBmsCategoryAssociatedById(Long id);
}
